Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compass 23919 Onboarding flow implement custom bridge method #149

Conversation

svankayalapati-atlassian
Copy link
Contributor

Description

Added helper function to know if in onboarding flow and call bridge method for error cases as well as if import is successful.

Checklist

Please ensure that each of these items has been addressed:

  • I have tested these changes in my local environment
  • I have added/modified tests as applicable to cover these changes
  • (Atlassian contributors only) I have removed any Atlassian-internal changes including internal modules, references to internal tickets, and internal wiki links

@svankayalapati-atlassian svankayalapati-atlassian requested a review from a team as a code owner January 22, 2025 20:16
export async function isRenderingInOnboardingFlow(): Promise<boolean> {
try {
const context = await view.getContext();
return context.extension.renderingLocation === 'onboardingFlow';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add a TODO: comment here with a link to the task to import the package

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think due to the open source nature of this repo, it may be impossible to import that package which is not published to npm

@svankayalapati-atlassian svankayalapati-atlassian merged commit 760743c into main Jan 23, 2025
5 checks passed
@svankayalapati-atlassian svankayalapati-atlassian deleted the COMPASS-23919-gitlab-implement-custom-bridge-method branch January 23, 2025 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants